package com.grape.dp.strategy.mapper;

import com.grape.dp.strategy.entity.PaymentChannelEntity;
import org.apache.ibatis.annotations.Select;
/**
 * 描述:PaymentChannelMapper
 * @author: myx
 * @date: 2019-07-21
 * Copyright © 2019-grape. All rights reserved.
 */
public interface PaymentChannelMapper {
     @Select("\n" +
             "SELECT  id as id ,CHANNEL_NAME as CHANNELNAME ,CHANNEL_ID as CHANNELID,strategy_bean_id AS strategybeanid\n" +
             "FROM payment_channel where CHANNEL_ID=#{payCode}")
     public PaymentChannelEntity getPaymentChannel(String payCode);
}
